package com.ctshk.rpc.order.hotel.dto.h5;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @description 下单成功显示基本信息
 * @author 谢诗宏
 * @date 2021/4/20
 */
@Data
@ApiModel(description="酒店详情dto")
public class HotelOrderDTO implements Serializable {

    private static final long serialVersionUID = -5564423140878302763L;

    @ApiModelProperty(value = "订单id")
    private Long orderId;

    @ApiModelProperty(value = "酒店产品id")
    private Long productId;

    @ApiModelProperty(value = "订单金额(HKD)")
    private BigDecimal orderAmount;

    @ApiModelProperty(value = "订单名称", example = "jb大酒店")
    private String name;

    @ApiModelProperty(value = "订单编号")
    private String orderNumber;

    @ApiModelProperty(value = "入住时间", example = "2021-05-10")
    private LocalDate checkInDate;

    @ApiModelProperty(value = "离店时间", example = "2021-05-12")
    private LocalDate checkOutDate;

    @ApiModelProperty(value = "付款到期时间(前端根据此时间计算倒计时)", example = "2021-05-12")
    private LocalDateTime payExpireDate;

}
